package com.beordie.service;

import com.beordie.model.Car;
import com.beordie.model.FormatCar;

import java.util.List;

/**
 * @Classname ICarService
 * @Description TODO
 * @Date 2021/7/11 21:20
 * @Created 30500
 */
public interface ICarService {
    public List<FormatCar> getAllCars();
    public FormatCar getCarByNumber(String number);
    public int insert(Car car);
    public int updateById(Car car);
    public int deleteById(int id);
    public List<FormatCar> getCarsByLimit(boolean isLimit, int start, int size);
    public int getCount();
}
